using System;
using System.Linq;
using TM.Model;

namespace TM.Data.Contracts
{
    public interface IProjectTaskRepository:IRepository<ProjectTask>
    {
        IQueryable<ProjectTask> GetAllOfProject(Guid projectId);
        IQueryable<ProjectTask> GetAllOfTheOwner(int ownerId, Guid projectId);
        IQueryable<ProjectTask> GetAllOfTheOwner(int ownerId, Guid projectId, DateTime startDate);
        IQueryable<ProjectTask> GetAllOfTheOwnerByCreationDate(int ownerId, Guid projectId, DateTime createdDate);
        IQueryable<ProjectTask> GetAllOfTheOwnerByEndDate(int ownerId, Guid projectId, DateTime actualStartDate);
    }
}